[ToC] [Up] [Back] [Next] ... [Book Plug] The Information Commons
.................... Introduction to HTML

4.12.3 REL Attribute

At present REL and REV are rarely used. However, they will be of growing importance as HTML documents, and the document development environments, become more sophisticated.

The REL attribute is used to give the relationship(s) described by the hypertext link, and describes the relationship of the destination of the link to the document containing the hypertext anchor -- consequently REL cannot be used unless an HREF is present. The value for REL is a space-separated list of relationship values. For example

   <A HREF="http://foo.edu/fe.html" REL="index">sdfsddf</a>
indicates that the link is to a document that is an index related to the current document (the one you are reading).

REV is the converse of REL. Thus an anchor of the form

   <A HREF="http://foo.edu/fe.html" REV="index">sdfsddf</a>
indicates that the the document containing this anchor element is an index related to the document fe.html.

REL and REV Attribute Values

Values for the relationships and their semantics are currently being established in a working document by Murray Maloney of SoftQuad Inc. in Toronto. You can find out more about these relationships at the URL http://www.sq.com/papers/Relationships.html.


[ToC] [Up] [Back] [Next] ... [Book Plug] .................... Introduction to HTML


© Ian Graham 1994-1995 Page Last Updated: 4 December 1995